//
//  OrderBottomView.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/28.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

protocol OrderBottomViewDeleage : NSObjectProtocol {
    
    func orderBottomViewBtnDidTap()
    
}

class OrderBottomView: UIView {
    
    weak var delegate : OrderBottomViewDeleage?

    
    @IBOutlet weak var btn: UIButton!
    

    @IBAction func btnDidTap(_ sender: UIButton) {
        
        
        
        self.delegate?.orderBottomViewBtnDidTap()
        
        
    }
    
    

    override func awakeFromNib() {
        
     super.awakeFromNib()
        
     btn.addCornerAndBorder(borderColor: nil, borderWidth: 0, masksToBounds: true, cornerRadius: 5)
        
    }


}
